<?php

$activity_category = array(
	'name'	=> 'activity_category',
	'id'	=> 'activity_category',
	'value' => ''
);
$activity_date = array(
	'name'	=> 'activity_date',
	'id'	=> 'activity_date',
	'value' => date('Y-m-d',strtotime('+7days')),
	'class' => 'date-pick'
);

echo form_open('/activity_list',array('id'=>'search_feature_form'));
?>
<table>
	<tr>
		<td><?php echo form_dropdown('activity_location',$this->config->item('tw_locations', 'layout')); ?></td>
		<td><?php echo form_input($activity_category); ?></td>
		<td><?php echo form_input($activity_date); ?></td>
		<td><?php echo form_submit('submit', '搜尋'); ?></td>
	</tr>
</table>

<?php echo form_close(); ?>